import { service } from '../service/request'

//查询
export async function UserQuery() {
    return await service({
        url: "DMS/KSKH/UserQuery",
        method: 'post'
    });
}

//修改
export async function UserSave(data) {
    return await service({
        url: "DMS/KSKH/UserSave",
        method: 'post',
        data
    });
}

//删除
export async function UserDelete(data) {
    return await service({
        url: "DMS/KSKH/UserDelete",
        method: 'post',
        data
    });
}

//修改密码
export async function ChangePW(data) {
    return await service({
        url: "DMS/KSKH/ChangePW",
        method: 'post',
        data
    });
}